﻿<UserControl x:Class="HomeWP.HMMDIR"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="99" d:DesignWidth="450"
              xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit">

    <Grid x:Name="LayoutRoot" Height="{StaticResource toggleButtonContentTemplate}"  Margin="16,0,0,0"  Loaded="LayoutRoot_Loaded">
        <CheckBox Content="Bewegung erkannt" Height="72" HorizontalAlignment="Left" Margin="0,37,0,0" Name="cB_Motion" VerticalAlignment="Top" Foreground="AntiqueWhite" IsEnabled="False" IsThreeState="True" IsChecked="{x:Null}" />
        <TextBlock Height="30" HorizontalAlignment="Left" Margin="325,52,0,0" Name="textBlock1" Text="Helligkeit:" VerticalAlignment="Top" Style="{StaticResource PhoneTextNormalStyle}"/>
        <TextBlock Height="30" HorizontalAlignment="Left" Margin="350,72,0,0" Name="tB_Brightness" Text="??%" VerticalAlignment="Top" Foreground="{StaticResource PhoneAccentBrush}" />
        <TextBlock Name="_dispName" Text="DisplayName" Style="{StaticResource PhoneTextGroupHeaderStyle}" />
        <toolkit:ContextMenuService.ContextMenu>
            <toolkit:ContextMenu IsZoomEnabled="false" Margin="0,-20,0,0">
                <toolkit:MenuItem Header="Als Favorit hinzufügen" x:Name="mi_Favorit" Click="mi_Favorit_Click" />
                <toolkit:MenuItem Header="Favorit entfernen" x:Name="mi_DelFavorit" Click="mi_DelFavorit_Click" />
                <!--    <toolkit:MenuItem Header="Auf Startseite anheften" x:Name="mi_Pin" Click="MenuItem2_Click" />-->
            </toolkit:ContextMenu>
        </toolkit:ContextMenuService.ContextMenu>
    </Grid>
</UserControl>
